import { IsNotEmpty, IsString } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class UpdataUserPasswordDto {
	@ApiProperty()
	@IsNotEmpty()
	@IsString()
	readonly oldPassword: string;

	@ApiProperty()
	@IsNotEmpty()
	@IsString()
	readonly password: string;

	@ApiProperty()
	@IsNotEmpty()
	readonly rePassword: string;

	updatedAt: Date;
}
